<template>
<el-form ref="form" :model="form" label-width="80px">
  <el-form-item id="username" label="用户名">
    <el-input v-model="form.name"></el-input>
  </el-form-item>
    <el-form-item id="password" label="密码">
    <el-input v-model="form.name"></el-input>
  </el-form-item>
  <el-form-item>
    <el-button   type="primary" @click="onSubmit" to="/login">
        立即创建
    </el-button>
    <el-button>取消</el-button>
  </el-form-item>
</el-form>
</template>
<script>
export default {
    data(){
        return{
             form: {
          name: '',
          region: '',
          date1: '',
          date2: '',
          delivery: false,
          type: [],
          resource: '',
          desc: ''
        }
        }
    },
    methods:{
            onSubmit() {
        console.log('submit!');
      }
    }
}
</script>
<style scoped>
.el-form{
/* 矩形 */
left: 9.57px;
top: 0px;
width: 529.43px;
height: 675px;
border-radius: 25px;
}

</style>